*,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(45deg, #111, #222);
    color: azure;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
}

header {
    position: fixed;
    top: 10px;
}

footer {
    position: fixed;
    bottom: 10px;
}

.box {
    position: relative;
    width: 450px;
    height: 450px;
    border: 10px solid #333;
    background: #444;
    display: flex;
        .trafficLights {
            width: 120px;
            height: 340px;
            border-radius: 60px;
            background-color: #333;
            margin-bottom: 20px;
            // display: flex;
            // justify-content: space-around;
            // align-items: center;
            min-height: 120px;
            position: relative;
            left: 5px;
            top: 50%;
            transform: translateY(-50%);
            .light {
                position: absolute;
                left: 50%;
                transform: translateX(-50%);
                width: 100px;
                height: 100px;
                border-radius: 50%;
                background: #333;
                background: var(--clr);
                box-shadow: 0 0 100px 50px var(--clr);
                display: none;

                &:nth-of-type(1) {
                    top: 5px;
                }

                &:nth-of-type(2) {
                    top: 50%;
                    transform: translateX(-50%) translateY(-50%);
                }

                &:nth-of-type(3) {
                    bottom: 5px;
                }
            }

            .active {
                display: block;
            }
        }
        .btn {
            position: absolute;
            right: 100px;
            bottom: 50px;
            width: 140px;
            height: 50px;
            line-height: 50px;
            text-align: center;
            border-radius: 25px;
            background: #333;
            color: #888;
            letter-spacing: 2px;
        }

        .message {
            position: absolute;
            top: 50px;
            right: 20px;
            width: 250px;
            height: 250px;
            border-radius: 25px;
            background: #333;
            color: #888;
            font-size: 28px;
            letter-spacing: 2px;
            margin-bottom: 20px;
            line-height: 50px;
            padding: 10px;
        }
    }